#pragma once
#include "wx/statusbr.h"

#include "wx/timer.h"
#include <wx/gauge.h>
class CMyStatusBar :
	public wxStatusBar
{
public:
	CMyStatusBar(wxWindow *parent);
	~CMyStatusBar(void);
private:
	 wxTimer m_timer;

	enum
	{
		Field_Text = 0,
		Field_Text2,
		Field_Message,
		Field_Progress,
		Field_Clock,
		Field_Max
	};

	void MoveProgress (/*const wxRect &rect*/);
	void UpdateClock ();

	

	void OnSize(wxSizeEvent& event);
	void OnTimer (wxTimerEvent &event);

	wxGauge *m_pProgressBar;
public:
	void SetProgressValue (const int &val, const wchar_t *message = _T(""));
};

